<?php if ( ! defined('BASEPATH')) exit('This file does not run directly. Sorry.'); ?>
<?php
/**
 * Kalaisoo.
 *
 * A lightweight no-framework framework written in PHP.
 *
 * @package Kalaisoo
 * @author $Author: info@sah-company.com $
 */
?>
<?php
/**
 * set variables for vcard display.
 */
if ($addr = $bean->addressbook):
	echo $addr->view('editor_view');
else:
	// this user is _not_ connected to an addressbook entry
	echo $bean->name;
endif;
?>